package com.kalix.mooc.itembank.entities;

import com.kalix.framework.core.api.persistence.PersistentEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 功能描述:
 *
 * @Description: 试题管理
 * @Author: yyp
 * @CreateDate: 2019/5/31$ 15:38$
 * @Version:
 */
@Entity
@Table(name = "mooc_testQuestion")
public class TestQuestionBean extends PersistentEntity {
    @Column(name = "exerciseProblem",columnDefinition = "text")
    private String exerciseProblem ; //试题名称
    private String bankCategoryType; // 题库类别
    private String subjectType; // 试题题目类型
    private String difficulty; // 试题难度
    private Long userId; // 用户ID
    private String userName; // 创建人
    @Column(name = "exerciseAnswer",columnDefinition = "text")
    private String exerciseAnswer; //试题答案
    private String optionA; //选择选项A
    private String optionB; //选择选项B
    private String optionC; //选择选项C
    private String optionD; //选择选项D
    private String imgUrl; //试题图片

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getExerciseProblem() {
        return exerciseProblem;
    }

    public void setExerciseProblem(String exerciseProblem) {
        this.exerciseProblem = exerciseProblem;
    }

    public String getBankCategoryType() {
        return bankCategoryType;
    }

    public void setBankCategoryType(String bankCategoryType) {
        this.bankCategoryType = bankCategoryType;
    }

    public String getSubjectType() {
        return subjectType;
    }

    public void setSubjectType(String subjectType) {
        this.subjectType = subjectType;
    }

    public String getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(String difficulty) {
        this.difficulty = difficulty;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getExerciseAnswer() {
        return exerciseAnswer;
    }

    public void setExerciseAnswer(String exerciseAnswer) {
        this.exerciseAnswer = exerciseAnswer;
    }

    public String getOptionA() {
        return optionA;
    }

    public void setOptionA(String optionA) {
        this.optionA = optionA;
    }

    public String getOptionB() {
        return optionB;
    }

    public void setOptionB(String optionB) {
        this.optionB = optionB;
    }

    public String getOptionC() {
        return optionC;
    }

    public void setOptionC(String optionC) {
        this.optionC = optionC;
    }

    public String getOptionD() {
        return optionD;
    }

    public void setOptionD(String optionD) {
        this.optionD = optionD;
    }
}
